<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>IconFont Demo</title>
  <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i2/O1CN01ZyAlrn1MwaMhqz36G_!!6000000001499-73-tps-64-64.ico" type="image/x-icon"/>
  <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01EYTRnJ297D6vehehJ_!!6000000008020-55-tps-64-64.svg"/>
  <link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
  <link rel="stylesheet" href="iconfont.css">
  <link rel="stylesheet" href="../../src/common/_assets/iconfont/icon-sm-components.css">
  <script src="iconfont.js"></script>
  <!-- jQuery -->
  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script>
  <!-- 代码高亮 -->
  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/a3f714d0-08e6-11e9-8a15-ebf944d7534c.js"></script>
</head>
<body>
  <div class="main">
    <h1 class="logo"><a href="https://www.iconfont.cn/" title="iconfont 首页" target="_blank">&#xe86b;</a></h1>
    <div class="nav-tabs">
      <ul id="tabs" class="dib-box">
        <li class="dib active"><span>Unicode</span></li>
        <li class="dib"><span>Font class</span></li>
        <li class="dib"><span>Symbol</span></li>
      </ul>
      
      <a href="https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=2236405" target="_blank" class="nav-more">查看项目</a>
      
    </div>
    <div class="tab-container">
      <div class="content unicode" style="display: block;">
          <ul class="icon_lists dib-box">
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe65f;</span>
                <div class="name">attribute</div>
                <div class="code-name">&amp;#xe65f;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe65a;</span>
                <div class="name">solid-left</div>
                <div class="code-name">&amp;#xe65a;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe65b;</span>
                <div class="name">swipe</div>
                <div class="code-name">&amp;#xe65b;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe65c;</span>
                <div class="name">solid-right</div>
                <div class="code-name">&amp;#xe65c;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe65d;</span>
                <div class="name">fill-extension</div>
                <div class="code-name">&amp;#xe65d;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe65e;</span>
                <div class="name">flyto</div>
                <div class="code-name">&amp;#xe65e;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe659;</span>
                <div class="name">copy</div>
                <div class="code-name">&amp;#xe659;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe654;</span>
                <div class="name">layer-color</div>
                <div class="code-name">&amp;#xe654;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe655;</span>
                <div class="name">locate</div>
                <div class="code-name">&amp;#xe655;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe656;</span>
                <div class="name">coordinate-coversion</div>
                <div class="code-name">&amp;#xe656;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe657;</span>
                <div class="name">layer-picker</div>
                <div class="code-name">&amp;#xe657;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe658;</span>
                <div class="name">click</div>
                <div class="code-name">&amp;#xe658;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe710;</span>
                <div class="name">播放</div>
                <div class="code-name">&amp;#xe710;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe76b;</span>
                <div class="name">暂停</div>
                <div class="code-name">&amp;#xe76b;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe653;</span>
                <div class="name">compass</div>
                <div class="code-name">&amp;#xe653;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe652;</span>
                <div class="name">图片</div>
                <div class="code-name">&amp;#xe652;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe664;</span>
                <div class="name">edit</div>
                <div class="code-name">&amp;#xe664;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe64f;</span>
                <div class="name">multi-point</div>
                <div class="code-name">&amp;#xe64f;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe650;</span>
                <div class="name">chart</div>
                <div class="code-name">&amp;#xe650;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe651;</span>
                <div class="name">point</div>
                <div class="code-name">&amp;#xe651;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe64d;</span>
                <div class="name">fullscreen</div>
                <div class="code-name">&amp;#xe64d;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe64e;</span>
                <div class="name">solid-question</div>
                <div class="code-name">&amp;#xe64e;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe64b;</span>
                <div class="name">arrow-left</div>
                <div class="code-name">&amp;#xe64b;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe64c;</span>
                <div class="name">arrow-dowm-slim</div>
                <div class="code-name">&amp;#xe64c;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe64a;</span>
                <div class="name">map-compare</div>
                <div class="code-name">&amp;#xe64a;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe648;</span>
                <div class="name">minus</div>
                <div class="code-name">&amp;#xe648;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe649;</span>
                <div class="name">plus</div>
                <div class="code-name">&amp;#xe649;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe643;</span>
                <div class="name">double-right</div>
                <div class="code-name">&amp;#xe643;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe646;</span>
                <div class="name">double-left</div>
                <div class="code-name">&amp;#xe646;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe647;</span>
                <div class="name">visible</div>
                <div class="code-name">&amp;#xe647;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe630;</span>
                <div class="name">partially-visible</div>
                <div class="code-name">&amp;#xe630;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe644;</span>
                <div class="name">hidden</div>
                <div class="code-name">&amp;#xe644;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe629;</span>
                <div class="name">arrow-rightdown</div>
                <div class="code-name">&amp;#xe629;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe62a;</span>
                <div class="name">arrow-leftup</div>
                <div class="code-name">&amp;#xe62a;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe62b;</span>
                <div class="name">bus</div>
                <div class="code-name">&amp;#xe62b;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe62c;</span>
                <div class="name">delete</div>
                <div class="code-name">&amp;#xe62c;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe62e;</span>
                <div class="name">close</div>
                <div class="code-name">&amp;#xe62e;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe62f;</span>
                <div class="name">car</div>
                <div class="code-name">&amp;#xe62f;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe631;</span>
                <div class="name">line</div>
                <div class="code-name">&amp;#xe631;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe632;</span>
                <div class="name">change</div>
                <div class="code-name">&amp;#xe632;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe633;</span>
                <div class="name">layer-list</div>
                <div class="code-name">&amp;#xe633;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe634;</span>
                <div class="name">ploygon</div>
                <div class="code-name">&amp;#xe634;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe635;</span>
                <div class="name">list</div>
                <div class="code-name">&amp;#xe635;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe636;</span>
                <div class="name">layer-manager</div>
                <div class="code-name">&amp;#xe636;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe637;</span>
                <div class="name">right</div>
                <div class="code-name">&amp;#xe637;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe638;</span>
                <div class="name">search</div>
                <div class="code-name">&amp;#xe638;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe639;</span>
                <div class="name">map-switch</div>
                <div class="code-name">&amp;#xe639;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe63a;</span>
                <div class="name">measure</div>
                <div class="code-name">&amp;#xe63a;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe63b;</span>
                <div class="name">search-list</div>
                <div class="code-name">&amp;#xe63b;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe63c;</span>
                <div class="name">solid-triangle-right</div>
                <div class="code-name">&amp;#xe63c;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe63d;</span>
                <div class="name">solid-triangle-down</div>
                <div class="code-name">&amp;#xe63d;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe63e;</span>
                <div class="name">solid-triangle-up</div>
                <div class="code-name">&amp;#xe63e;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe63f;</span>
                <div class="name">solid-triangle-down-big</div>
                <div class="code-name">&amp;#xe63f;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe640;</span>
                <div class="name">solid-triangle-left</div>
                <div class="code-name">&amp;#xe640;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe641;</span>
                <div class="name">road</div>
                <div class="code-name">&amp;#xe641;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe642;</span>
                <div class="name">solid-triangle-right-big</div>
                <div class="code-name">&amp;#xe642;</div>
              </li>
          
            <li class="dib">
              <span class="icon sm-components-icon-">&#xe645;</span>
                <div class="name">solid-close</div>
                <div class="code-name">&amp;#xe645;</div>
              </li>
          
          </ul>
          <div class="article markdown">
          <h2 id="unicode-">Unicode 引用</h2>
          <hr>

          <p>Unicode 是字体在网页端最原始的应用方式，特点是：</p>
          <ul>
            <li>兼容性最好，支持 IE6+，及所有现代浏览器。</li>
            <li>支持按字体的方式去动态调整图标大小，颜色等等。</li>
            <li>但是因为是字体，所以不支持多色。只能使用平台里单色的图标，就算项目里有多色图标也会自动去色。</li>
          </ul>
          <blockquote>
            <p>注意：新版 iconfont 支持多色图标，这些多色图标在 Unicode 模式下将不能使用，如果有需求建议使用symbol 的引用方式</p>
          </blockquote>
          <p>Unicode 使用步骤如下：</p>
          <h3 id="-font-face">第一步：拷贝项目下面生成的 <code>@font-face</code></h3>
<pre><code class="language-css"
>@font-face {
  font-family: 'sm-components-icon-';
  src: url('iconfont.eot');
  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
      url('iconfont.woff2') format('woff2'),
      url('iconfont.woff') format('woff'),
      url('iconfont.ttf') format('truetype'),
      url('iconfont.svg#sm-components-icon-') format('svg');
}
</code></pre>
          <h3 id="-iconfont-">第二步：定义使用 iconfont 的样式</h3>
<pre><code class="language-css"
>.sm-components-icon- {
  font-family: "sm-components-icon-" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</code></pre>
          <h3 id="-">第三步：挑选相应图标并获取字体编码，应用于页面</h3>
<pre>
<code class="language-html"
>&lt;span class="sm-components-icon-"&gt;&amp;#x33;&lt;/span&gt;
</code></pre>
          <blockquote>
            <p>"sm-components-icon-" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。</p>
          </blockquote>
          </div>
      </div>
      <div class="content font-class">
        <ul class="icon_lists dib-box">
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-attribute"></span>
            <div class="name">
              attribute
            </div>
            <div class="code-name">.sm-components-icon-attribute
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-left"></span>
            <div class="name">
              solid-left
            </div>
            <div class="code-name">.sm-components-icon-solid-left
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-swipe"></span>
            <div class="name">
              swipe
            </div>
            <div class="code-name">.sm-components-icon-swipe
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-right"></span>
            <div class="name">
              solid-right
            </div>
            <div class="code-name">.sm-components-icon-solid-right
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-fill-extension"></span>
            <div class="name">
              fill-extension
            </div>
            <div class="code-name">.sm-components-icon-fill-extension
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-flyto"></span>
            <div class="name">
              flyto
            </div>
            <div class="code-name">.sm-components-icon-flyto
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-copy"></span>
            <div class="name">
              copy
            </div>
            <div class="code-name">.sm-components-icon-copy
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-layer-color"></span>
            <div class="name">
              layer-color
            </div>
            <div class="code-name">.sm-components-icon-layer-color
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-locate"></span>
            <div class="name">
              locate
            </div>
            <div class="code-name">.sm-components-icon-locate
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-coordinate-coversion"></span>
            <div class="name">
              coordinate-coversion
            </div>
            <div class="code-name">.sm-components-icon-coordinate-coversion
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-layer-picker"></span>
            <div class="name">
              layer-picker
            </div>
            <div class="code-name">.sm-components-icon-layer-picker
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-click"></span>
            <div class="name">
              click
            </div>
            <div class="code-name">.sm-components-icon-click
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-bofang3"></span>
            <div class="name">
              播放
            </div>
            <div class="code-name">.sm-components-icon-bofang3
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-zanting"></span>
            <div class="name">
              暂停
            </div>
            <div class="code-name">.sm-components-icon-zanting
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-compass"></span>
            <div class="name">
              compass
            </div>
            <div class="code-name">.sm-components-icon-compass
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-tupian"></span>
            <div class="name">
              图片
            </div>
            <div class="code-name">.sm-components-icon-tupian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-edit"></span>
            <div class="name">
              edit
            </div>
            <div class="code-name">.sm-components-icon-edit
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-multi-point"></span>
            <div class="name">
              multi-point
            </div>
            <div class="code-name">.sm-components-icon-multi-point
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-chart"></span>
            <div class="name">
              chart
            </div>
            <div class="code-name">.sm-components-icon-chart
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-point"></span>
            <div class="name">
              point
            </div>
            <div class="code-name">.sm-components-icon-point
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-fullscreen"></span>
            <div class="name">
              fullscreen
            </div>
            <div class="code-name">.sm-components-icon-fullscreen
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-question"></span>
            <div class="name">
              solid-question
            </div>
            <div class="code-name">.sm-components-icon-solid-question
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-arrow-left"></span>
            <div class="name">
              arrow-left
            </div>
            <div class="code-name">.sm-components-icon-arrow-left
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-arrow-dowm-slim"></span>
            <div class="name">
              arrow-dowm-slim
            </div>
            <div class="code-name">.sm-components-icon-arrow-dowm-slim
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-map-compare"></span>
            <div class="name">
              map-compare
            </div>
            <div class="code-name">.sm-components-icon-map-compare
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-minus"></span>
            <div class="name">
              minus
            </div>
            <div class="code-name">.sm-components-icon-minus
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-plus"></span>
            <div class="name">
              plus
            </div>
            <div class="code-name">.sm-components-icon-plus
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-double-right"></span>
            <div class="name">
              double-right
            </div>
            <div class="code-name">.sm-components-icon-double-right
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-double-left"></span>
            <div class="name">
              double-left
            </div>
            <div class="code-name">.sm-components-icon-double-left
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-visible"></span>
            <div class="name">
              visible
            </div>
            <div class="code-name">.sm-components-icon-visible
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-partially-visible"></span>
            <div class="name">
              partially-visible
            </div>
            <div class="code-name">.sm-components-icon-partially-visible
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-hidden"></span>
            <div class="name">
              hidden
            </div>
            <div class="code-name">.sm-components-icon-hidden
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-arrow-rightdown"></span>
            <div class="name">
              arrow-rightdown
            </div>
            <div class="code-name">.sm-components-icon-arrow-rightdown
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-arrow-leftup"></span>
            <div class="name">
              arrow-leftup
            </div>
            <div class="code-name">.sm-components-icon-arrow-leftup
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-bus"></span>
            <div class="name">
              bus
            </div>
            <div class="code-name">.sm-components-icon-bus
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-delete"></span>
            <div class="name">
              delete
            </div>
            <div class="code-name">.sm-components-icon-delete
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-close"></span>
            <div class="name">
              close
            </div>
            <div class="code-name">.sm-components-icon-close
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-car"></span>
            <div class="name">
              car
            </div>
            <div class="code-name">.sm-components-icon-car
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-line"></span>
            <div class="name">
              line
            </div>
            <div class="code-name">.sm-components-icon-line
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-change"></span>
            <div class="name">
              change
            </div>
            <div class="code-name">.sm-components-icon-change
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-layer-list"></span>
            <div class="name">
              layer-list
            </div>
            <div class="code-name">.sm-components-icon-layer-list
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-ploygon"></span>
            <div class="name">
              ploygon
            </div>
            <div class="code-name">.sm-components-icon-ploygon
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-list"></span>
            <div class="name">
              list
            </div>
            <div class="code-name">.sm-components-icon-list
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-layer-manager"></span>
            <div class="name">
              layer-manager
            </div>
            <div class="code-name">.sm-components-icon-layer-manager
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-right"></span>
            <div class="name">
              right
            </div>
            <div class="code-name">.sm-components-icon-right
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-search"></span>
            <div class="name">
              search
            </div>
            <div class="code-name">.sm-components-icon-search
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-map-switch"></span>
            <div class="name">
              map-switch
            </div>
            <div class="code-name">.sm-components-icon-map-switch
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-measure"></span>
            <div class="name">
              measure
            </div>
            <div class="code-name">.sm-components-icon-measure
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-search-list"></span>
            <div class="name">
              search-list
            </div>
            <div class="code-name">.sm-components-icon-search-list
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-triangle-right"></span>
            <div class="name">
              solid-triangle-right
            </div>
            <div class="code-name">.sm-components-icon-solid-triangle-right
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-triangle-down"></span>
            <div class="name">
              solid-triangle-down
            </div>
            <div class="code-name">.sm-components-icon-solid-triangle-down
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-triangle-up"></span>
            <div class="name">
              solid-triangle-up
            </div>
            <div class="code-name">.sm-components-icon-solid-triangle-up
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-triangle-down-big"></span>
            <div class="name">
              solid-triangle-down-big
            </div>
            <div class="code-name">.sm-components-icon-solid-triangle-down-big
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-triangle-left"></span>
            <div class="name">
              solid-triangle-left
            </div>
            <div class="code-name">.sm-components-icon-solid-triangle-left
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-road"></span>
            <div class="name">
              road
            </div>
            <div class="code-name">.sm-components-icon-road
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-triangle-right-big"></span>
            <div class="name">
              solid-triangle-right-big
            </div>
            <div class="code-name">.sm-components-icon-solid-triangle-right-big
            </div>
          </li>
          
          <li class="dib">
            <span class="icon sm-components-icon- sm-components-icon-solid-close"></span>
            <div class="name">
              solid-close
            </div>
            <div class="code-name">.sm-components-icon-solid-close
            </div>
          </li>
          
        </ul>
        <div class="article markdown">
        <h2 id="font-class-">font-class 引用</h2>
        <hr>

        <p>font-class 是 Unicode 使用方式的一种变种，主要是解决 Unicode 书写不直观，语意不明确的问题。</p>
        <p>与 Unicode 使用方式相比，具有如下特点：</p>
        <ul>
          <li>兼容性良好，支持 IE8+，及所有现代浏览器。</li>
          <li>相比于 Unicode 语意明确，书写更直观。可以很容易分辨这个 icon 是什么。</li>
          <li>因为使用 class 来定义图标，所以当要替换图标时，只需要修改 class 里面的 Unicode 引用。</li>
          <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的 fontclass 代码：</h3>
<pre><code class="language-html">&lt;link rel="stylesheet" href="./iconfont.css"&gt;
</code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
<pre><code class="language-html">&lt;span class="sm-components-icon- sm-components-icon-xxx"&gt;&lt;/span&gt;
</code></pre>
        <blockquote>
          <p>"
            sm-components-icon-" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。</p>
        </blockquote>
      </div>
      </div>
      <div class="content symbol">
          <ul class="icon_lists dib-box">
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-attribute"></use>
                </svg>
                <div class="name">attribute</div>
                <div class="code-name">#sm-components-icon-attribute</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-left"></use>
                </svg>
                <div class="name">solid-left</div>
                <div class="code-name">#sm-components-icon-solid-left</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-swipe"></use>
                </svg>
                <div class="name">swipe</div>
                <div class="code-name">#sm-components-icon-swipe</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-right"></use>
                </svg>
                <div class="name">solid-right</div>
                <div class="code-name">#sm-components-icon-solid-right</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-fill-extension"></use>
                </svg>
                <div class="name">fill-extension</div>
                <div class="code-name">#sm-components-icon-fill-extension</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-flyto"></use>
                </svg>
                <div class="name">flyto</div>
                <div class="code-name">#sm-components-icon-flyto</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-copy"></use>
                </svg>
                <div class="name">copy</div>
                <div class="code-name">#sm-components-icon-copy</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-layer-color"></use>
                </svg>
                <div class="name">layer-color</div>
                <div class="code-name">#sm-components-icon-layer-color</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-locate"></use>
                </svg>
                <div class="name">locate</div>
                <div class="code-name">#sm-components-icon-locate</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-coordinate-coversion"></use>
                </svg>
                <div class="name">coordinate-coversion</div>
                <div class="code-name">#sm-components-icon-coordinate-coversion</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-layer-picker"></use>
                </svg>
                <div class="name">layer-picker</div>
                <div class="code-name">#sm-components-icon-layer-picker</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-click"></use>
                </svg>
                <div class="name">click</div>
                <div class="code-name">#sm-components-icon-click</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-bofang3"></use>
                </svg>
                <div class="name">播放</div>
                <div class="code-name">#sm-components-icon-bofang3</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-zanting"></use>
                </svg>
                <div class="name">暂停</div>
                <div class="code-name">#sm-components-icon-zanting</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-compass"></use>
                </svg>
                <div class="name">compass</div>
                <div class="code-name">#sm-components-icon-compass</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-tupian"></use>
                </svg>
                <div class="name">图片</div>
                <div class="code-name">#sm-components-icon-tupian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-edit"></use>
                </svg>
                <div class="name">edit</div>
                <div class="code-name">#sm-components-icon-edit</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-multi-point"></use>
                </svg>
                <div class="name">multi-point</div>
                <div class="code-name">#sm-components-icon-multi-point</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-chart"></use>
                </svg>
                <div class="name">chart</div>
                <div class="code-name">#sm-components-icon-chart</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-point"></use>
                </svg>
                <div class="name">point</div>
                <div class="code-name">#sm-components-icon-point</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-fullscreen"></use>
                </svg>
                <div class="name">fullscreen</div>
                <div class="code-name">#sm-components-icon-fullscreen</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-question"></use>
                </svg>
                <div class="name">solid-question</div>
                <div class="code-name">#sm-components-icon-solid-question</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-arrow-left"></use>
                </svg>
                <div class="name">arrow-left</div>
                <div class="code-name">#sm-components-icon-arrow-left</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-arrow-dowm-slim"></use>
                </svg>
                <div class="name">arrow-dowm-slim</div>
                <div class="code-name">#sm-components-icon-arrow-dowm-slim</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-map-compare"></use>
                </svg>
                <div class="name">map-compare</div>
                <div class="code-name">#sm-components-icon-map-compare</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-minus"></use>
                </svg>
                <div class="name">minus</div>
                <div class="code-name">#sm-components-icon-minus</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-plus"></use>
                </svg>
                <div class="name">plus</div>
                <div class="code-name">#sm-components-icon-plus</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-double-right"></use>
                </svg>
                <div class="name">double-right</div>
                <div class="code-name">#sm-components-icon-double-right</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-double-left"></use>
                </svg>
                <div class="name">double-left</div>
                <div class="code-name">#sm-components-icon-double-left</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-visible"></use>
                </svg>
                <div class="name">visible</div>
                <div class="code-name">#sm-components-icon-visible</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-partially-visible"></use>
                </svg>
                <div class="name">partially-visible</div>
                <div class="code-name">#sm-components-icon-partially-visible</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-hidden"></use>
                </svg>
                <div class="name">hidden</div>
                <div class="code-name">#sm-components-icon-hidden</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-arrow-rightdown"></use>
                </svg>
                <div class="name">arrow-rightdown</div>
                <div class="code-name">#sm-components-icon-arrow-rightdown</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-arrow-leftup"></use>
                </svg>
                <div class="name">arrow-leftup</div>
                <div class="code-name">#sm-components-icon-arrow-leftup</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-bus"></use>
                </svg>
                <div class="name">bus</div>
                <div class="code-name">#sm-components-icon-bus</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-delete"></use>
                </svg>
                <div class="name">delete</div>
                <div class="code-name">#sm-components-icon-delete</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-close"></use>
                </svg>
                <div class="name">close</div>
                <div class="code-name">#sm-components-icon-close</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-car"></use>
                </svg>
                <div class="name">car</div>
                <div class="code-name">#sm-components-icon-car</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-line"></use>
                </svg>
                <div class="name">line</div>
                <div class="code-name">#sm-components-icon-line</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-change"></use>
                </svg>
                <div class="name">change</div>
                <div class="code-name">#sm-components-icon-change</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-layer-list"></use>
                </svg>
                <div class="name">layer-list</div>
                <div class="code-name">#sm-components-icon-layer-list</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-ploygon"></use>
                </svg>
                <div class="name">ploygon</div>
                <div class="code-name">#sm-components-icon-ploygon</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-list"></use>
                </svg>
                <div class="name">list</div>
                <div class="code-name">#sm-components-icon-list</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-layer-manager"></use>
                </svg>
                <div class="name">layer-manager</div>
                <div class="code-name">#sm-components-icon-layer-manager</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-right"></use>
                </svg>
                <div class="name">right</div>
                <div class="code-name">#sm-components-icon-right</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-search"></use>
                </svg>
                <div class="name">search</div>
                <div class="code-name">#sm-components-icon-search</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-map-switch"></use>
                </svg>
                <div class="name">map-switch</div>
                <div class="code-name">#sm-components-icon-map-switch</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-measure"></use>
                </svg>
                <div class="name">measure</div>
                <div class="code-name">#sm-components-icon-measure</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-search-list"></use>
                </svg>
                <div class="name">search-list</div>
                <div class="code-name">#sm-components-icon-search-list</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-triangle-right"></use>
                </svg>
                <div class="name">solid-triangle-right</div>
                <div class="code-name">#sm-components-icon-solid-triangle-right</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-triangle-down"></use>
                </svg>
                <div class="name">solid-triangle-down</div>
                <div class="code-name">#sm-components-icon-solid-triangle-down</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-triangle-up"></use>
                </svg>
                <div class="name">solid-triangle-up</div>
                <div class="code-name">#sm-components-icon-solid-triangle-up</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-triangle-down-big"></use>
                </svg>
                <div class="name">solid-triangle-down-big</div>
                <div class="code-name">#sm-components-icon-solid-triangle-down-big</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-triangle-left"></use>
                </svg>
                <div class="name">solid-triangle-left</div>
                <div class="code-name">#sm-components-icon-solid-triangle-left</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-road"></use>
                </svg>
                <div class="name">road</div>
                <div class="code-name">#sm-components-icon-road</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-triangle-right-big"></use>
                </svg>
                <div class="name">solid-triangle-right-big</div>
                <div class="code-name">#sm-components-icon-solid-triangle-right-big</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#sm-components-icon-solid-close"></use>
                </svg>
                <div class="name">solid-close</div>
                <div class="code-name">#sm-components-icon-solid-close</div>
            </li>
          
          </ul>
          <div class="article markdown">
          <h2 id="symbol-">Symbol 引用</h2>
          <hr>

          <p>这是一种全新的使用方式，应该说这才是未来的主流，也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
            这种用法其实是做了一个 SVG 的集合，与另外两种相比具有如下特点：</p>
          <ul>
            <li>支持多色图标了，不再受单色限制。</li>
            <li>通过一些技巧，支持像字体那样，通过 <code>font-size</code>, <code>color</code> 来调整样式。</li>
            <li>兼容性较差，支持 IE9+，及现代浏览器。</li>
            <li>浏览器渲染 SVG 的性能一般，还不如 png。</li>
          </ul>
          <p>使用步骤如下：</p>
          <h3 id="-symbol-">第一步：引入项目下面生成的 symbol 代码：</h3>
<pre><code class="language-html">&lt;script src="./iconfont.js"&gt;&lt;/script&gt;
</code></pre>
          <h3 id="-css-">第二步：加入通用 CSS 代码（引入一次就行）：</h3>
<pre><code class="language-html">&lt;style&gt;
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
&lt;/style&gt;
</code></pre>
          <h3 id="-">第三步：挑选相应图标并获取类名，应用于页面：</h3>
<pre><code class="language-html">&lt;svg class="icon" aria-hidden="true"&gt;
  &lt;use xlink:href="#icon-xxx"&gt;&lt;/use&gt;
&lt;/svg&gt;
</code></pre>
          </div>
      </div>

    </div>
  </div>
  <script>
  $(document).ready(function () {
      $('.tab-container .content:first').show()

      $('#tabs li').click(function (e) {
        var tabContent = $('.tab-container .content')
        var index = $(this).index()

        if ($(this).hasClass('active')) {
          return
        } else {
          $('#tabs li').removeClass('active')
          $(this).addClass('active')

          tabContent.hide().eq(index).fadeIn()
        }
      })
    })
  </script>
</body>
</html>
